package ShipIt::Step::Manifest;

use strict;
use warnings;
use Dist::Joseki;


our $VERSION = '0.02';


use base 'ShipIt::Step';


sub run {
    my ($self, $state) = @_;

    if ($state->dry_run) {
        warn "*** DRY RUN, not making manifest\n";
        return;
    }

    my $dist = Dist::Joseki->get_dist_type;
    $dist->ACTION_manifest;
}


1;


__END__

{% USE p = PodGenerated %}

=head1 NAME

ShipIt::Step::Manifest - ShipIt step for recreating the MANIFEST

=head1 SYNOPSIS

None.

=head1 DESCRIPTION

This step recreates the MANIFEST by effectively running C<make manifest>, or
the equivalent in your build process.

I use this as I don't have superfluous files lying around in the distribution
directories, and have set the relevant C<svk ignore> properties.

To use it, just list in your C<.shipit> file.

{% PROCESS standard_pod %}

=cut

